/* ================================================
   PRICING SECTION - EQUAL WIDTH BOXES
   Perfectly Balanced Layout
   ================================================ */

/* Section Background */
.rs-pricing-page {
    background: #eaf4f5;
}

/* Main container */
.rs-pricing-page .container {
    max-width: 1200px;
}

/* Row with centered alignment */
.rs-pricing-page .row.align-items-center {
    display: flex;
    align-items: stretch;
    justify-content: center;
    margin-left: -15px;
    margin-right: -15px;
}

/* Equal width columns - 50% each */
.rs-pricing-page .row.align-items-center > .col-lg-5,
.rs-pricing-page .row.align-items-center > .col-lg-7 {
    flex: 0 0 48%;
    max-width: 48%;
    padding-left: 15px;
    padding-right: 15px;
}

/* Left Box - Steps */
.step-box {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fc 100%);
    padding: 50px 40px;
    border-radius: 24px;
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #0f4b4b;
    height: 100%;
    min-height: 520px;
}

.step-box h3 {
    color: #054b55;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.step-box h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0f4b4b 0%, #1a7070 100%);
    border-radius: 2px;
}

/* Steps List */
.register-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step-counter;
}

.register-steps li {
    margin-bottom: 25px;
    font-size: 16px;
    color: #28737b;
    line-height: 1.7;
    padding-left: 50px;
    position: relative;
    counter-increment: step-counter;
}

.register-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: -2px;
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #0f4b4b 0%, #1a7070 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(15, 75, 75, 0.3);
}

/* Right Side - Pricing Card Container */
.rs-pricing-page .col-lg-7 {
    display: flex;
}

.rs-pricing-page .col-lg-7 > .row {
    width: 100%;
    margin: 0;
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
}

/* Pricing Card Columns */
.rs-pricing-page .col-lg-7 .col-lg-6 {
    flex: 1;
    padding: 0;
    display: flex;
}

/* Pricing Card */
.pricing-card {
    background: #eaf4f5;
    padding: 45px 30px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.12),
        0 5px 15px rgba(0, 0, 0, 0.06);
    border: 2px solid rgba(217, 176, 166, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 520px;
}

/* Decorative background */
.pricing-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(217, 176, 166, 0.15) 0%, transparent 70%);
    transition: all 0.6s ease;
    pointer-events: none;
}

/* Hover Effect */
.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.15),
        0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: rgba(217, 176, 166, 0.5);
}

.pricing-card:hover::before {
    top: -25%;
    right: -25%;
}

/* Card Title */
.pricing-card h3 {
    color: #054b55;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

/* Price */
.pricing-card h2 {
    font-size: 52px;
    font-weight: 800;
    margin: 15px 0 25px;
    color: #0f4b4b;
    position: relative;
    z-index: 1;
    line-height: 1.2;
}

/* Package Description */
.package-description {
    flex-grow: 1;
    margin: 20px 0;
    position: relative;
    z-index: 1;
}

.package-description ul {
    padding: 0;
    margin: 0;
    text-align: left;
    list-style: none;
}

.package-description li {
    margin-bottom: 14px;
    font-size: 15px;
    color: #28737b;
    line-height: 1.7;
    padding-left: 32px;
    position: relative;
}

/* Checkmark Icons */
.package-description li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #d9b0a6 0%, #c99d91 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    line-height: 24px;
}

/* CTA Button */
.pricing-btn {
    display: inline-block;
    margin-top: auto;
    padding: 16px 40px;
    background: linear-gradient(135deg, #0f4b4b 0%, #1a7070 100%);
    color: #9cc8ce !important;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 20px rgba(15, 75, 75, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.pricing-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a7070 0%, #0f4b4b 100%);
    transition: left 0.4s ease;
    z-index: -1;
}

.pricing-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(15, 75, 75, 0.4);
    color: #fff !important;
    text-decoration: none;
}

.pricing-btn:hover::before {
    left: 0;
}

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */

@media (max-width: 991px) {
    /* Stack vertically on tablets */
    .rs-pricing-page .row.align-items-center {
        flex-direction: column;
    }
    
    .rs-pricing-page .row.align-items-center > .col-lg-5,
    .rs-pricing-page .row.align-items-center > .col-lg-7 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 30px;
    }
    
    .rs-pricing-page .col-lg-7 > .row {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .rs-pricing-page .col-lg-7 .col-lg-6 {
        flex: 0 0 calc(50% - 10px);
    }
    
    .step-box,
    .pricing-card {
        min-height: auto;
    }
}

@media (max-width: 767px) {
    /* Stack everything on mobile */
    .rs-pricing-page .col-lg-7 > .row {
        flex-direction: column;
    }
    
    .rs-pricing-page .col-lg-7 .col-lg-6 {
        flex: 0 0 100%;
        margin-bottom: 20px;
    }
    
    .step-box {
        padding: 35px 25px;
    }
    
    .step-box h3 {
        font-size: 22px;
    }
    
    .pricing-card {
        padding: 35px 25px;
    }
    
    .pricing-card h2 {
        font-size: 42px;
    }
    
    .register-steps li {
        font-size: 15px;
        padding-left: 45px;
        margin-bottom: 20px;
    }
    
    .register-steps li::before {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }
    
    .package-description li {
        font-size: 14px;
        padding-left: 28px;
    }
    
    .pricing-btn {
        padding: 14px 32px;
        font-size: 15px;
    }
}

@media (max-width: 575px) {
    .pricing-card h2 {
        font-size: 36px;
    }
    
    .step-box h3 {
        font-size: 20px;
    }
}
